// samsting : this file is auto create.

#include "Ons/2015-10-20/OnsTrendGroupOutputTpsResponse.h"

namespace aliyun { namespace Ons {

OnsTrendGroupOutputTpsResponse::OnsTrendGroupOutputTpsResponse() {
}

int64 OnsTrendGroupOutputTpsResponse::Data::StatsDataDo::GetX(void) const {
  return X_;
}

float OnsTrendGroupOutputTpsResponse::Data::StatsDataDo::GetY(void) const {
  return Y_;
}

const std::vector<OnsTrendGroupOutputTpsResponse::Data::StatsDataDo>& OnsTrendGroupOutputTpsResponse::Data::GetRecords(void) const {
  return Records_;
}

const string& OnsTrendGroupOutputTpsResponse::Data::GetTitle(void) const {
  return Title_;
}

const string& OnsTrendGroupOutputTpsResponse::Data::GetXUnit(void) const {
  return XUnit_;
}

const string& OnsTrendGroupOutputTpsResponse::Data::GetYUnit(void) const {
  return YUnit_;
}

const OnsTrendGroupOutputTpsResponse::Data& OnsTrendGroupOutputTpsResponse::GetData(void) const {
  return Data_;
}

const string& OnsTrendGroupOutputTpsResponse::GetHelpUrl(void) const {
  return HelpUrl_;
}

const char* OnsTrendGroupOutputTpsResponse::BaseKey(void) {
  return "OnsTrendGroupOutputTpsResponse";
}

void OnsTrendGroupOutputTpsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  UnmarshallerString(HelpUrl_, response_map, "OnsTrendGroupOutputTpsResponse.HelpUrl");
      int Data__Records__length = 0;
      UnmarshallerInt(Data__Records__length, response_map, "OnsTrendGroupOutputTpsResponse.Data.Records.Length");
      if(Data__Records__length >= 0) {
        Data_.Records_.resize(Data__Records__length);
        for(int i2 = 0; i2 < Data__Records__length; i2++) {
          UnmarshallerInt64(Data_.Records_[i2].X_, response_map, "OnsTrendGroupOutputTpsResponse.Data.Records["+string_ValueOfInt(i2)+"].X");
          UnmarshallerFloat(Data_.Records_[i2].Y_, response_map, "OnsTrendGroupOutputTpsResponse.Data.Records["+string_ValueOfInt(i2)+"].Y");
        } // for(int i2 = 0; i2 < Data__Records__length; i2++) {
      } // if(Data__Records__length >= 0) {

    UnmarshallerString(Data_.Title_, response_map, "OnsTrendGroupOutputTpsResponse.Data.Title");
    UnmarshallerString(Data_.XUnit_, response_map, "OnsTrendGroupOutputTpsResponse.Data.XUnit");
    UnmarshallerString(Data_.YUnit_, response_map, "OnsTrendGroupOutputTpsResponse.Data.YUnit");
}


} } // namespace aliyun { namespace Ons {

// end of file 
